
/* 01. header css here */
.body_overlay{
    width: 100%;
	height: 100%;
	position: fixed;
    z-index: 999;
	opacity: 0;
	visibility: hidden;
	cursor: progress;
    background-color: rgba(0,0,0,0.6);
    top: 0;
    &.active{
        opacity: 0.3;
        visibility: visible;
    }
}

.offcanvas_menu{
    display: none;
     @media #{$tablet-device}{
        display: block;
        
    }
    @media #{$large-mobile}{
        display: block;
    }
    
}
.offcanvas_menu_wrapper{
	width: 290px;
	position: fixed;
	background: #fff;
	z-index: 999;
	top: 0;
	height: 100vh;
    transition: .5s;
    left: 0;
    margin-left: -300px;
    padding: 55px 15px 30px;
    overflow-y: auto;
    &.active{
        margin-left: 0;
    }
    & .slinky-theme-default {
        background: inherit;
        min-height: 300px;
         overflow-y: auto;
    }
    & .header_top_contact{
        display: block;
    }
}
.offcanvas_main_menu{
    & > li{
        &.menu-item-has-children{
            &.menu-open{
                & > span.menu-expand{
                    transform: rotate(180deg);
                }
            }
        }
        & ul{
            & li{
                &.menu-item-has-children{
                    &.menu-open{
                        & span.menu-expand{
                            transform: rotate(180deg);
                        }
                    }
                }
            }
        }
    }
}
.offcanvas_main_menu{
    & li{
        position: relative;
        
        &:last-child{
            margin: 0;
        }
        & span{
            &.menu-expand{
                position: absolute;
                right: 0;
                cursor: pointer;
                &:hover{
                    color: $secondary_color;
                }
            }
        }
        & a{
            font-size: 14px;
            font-weight: 400;
            text-transform: capitalize;
            display: block;
            padding-bottom: 12px;
            margin-bottom: 12px;
            border-bottom: 1px solid $grey_color;
            &:hover{
                color: $secondary_color;
            }
        }
        & ul.sub-menu{
            padding-left: 20px;
            & li{
                & a{
                    
                }
            }
        }
         
    }
}

.canvas_close {
	position: absolute;
	top: 15px;
    right: 25px;
    & a{
        font-size: 30px;
        transition: 0.7s;
        display: inline-block;
        transform: scale(1) rotate(0deg);
        &:hover{
            color: #ffb83c;
            transform: scale(1.3) rotate(180deg);
            
        }
        &:hover{
             color: $secondary_color; 
        }
    }
}
.canvas_open{
    display: none;
    margin-left: 32px;
     @media #{$tablet-device}{
        display: block;  
    }
    @media #{$large-mobile}{
        display: block;
        margin-left: 25px;
    }
    & a{
        font-size: 38px;
        display: block;
        line-height: 16px;
        &:hover{
            color: $secondary_color; 
        }
    }
}


.sticky-header.sticky {
	position: fixed;
	z-index: 99;
	width: 100%;
	top: 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 3px rgba(0,0,0,0.11);
	-webkit-animation-name: fadeInDown;
	animation-name: fadeInDown;
	-webkit-animation-duration: 900ms;
	animation-duration: 900ms;
	-webkit-animation-timing-function: cubic-bezier(0.2, 1, 0.22, 1);
	animation-timing-function: cubic-bezier(0.2, 1, 0.22, 1);
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
	-webkit-animation-iteration-count: 1;
	animation-iteration-count: 1;
	-webkit-animation-direction: normal;
	animation-direction: normal;
	-webkit-animation-fill-mode: none;
	animation-fill-mode: none;
	-webkit-animation-play-state: running;
	animation-play-state: running;
    border-bottom: 0;
    display: block;
    @media #{$tablet-device}{
        padding: 15px 0;
    }
    @media #{$large-mobile}{
        padding: 15px 0;
    }
}

/*header css heer*/
.header_transparent{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9;
    @media #{$tablet-device}{
        position: inherit;
    }
    @media #{$large-mobile}{
        position: inherit;
    }
}
.header_section{
    & .row{
        margin-right: 0;
        margin-left: 0;
    }
}
.header_top{
    padding: 10px 115px;
    background: $secondary_color;
    @media #{$laptop-device}{
        padding: 10px 30px;
    }
    @media #{$desktop-device}{
        padding: 10px 15px;
    }
    @media #{$tablet-device}{
        padding: 10px 15px;
        flex-direction: column;
    }
    @media #{$large-mobile}{
        padding: 10px 15px;
        flex-direction: column;
    }
}

.header_top_contact{
    @media #{$tablet-device}{
        margin-bottom: 12px;
        display: none;
    }
    @media #{$large-mobile}{
        margin-bottom: 12px;
        display: none;
    }
    & ul{
        & li{
            margin-right: 40px;
            @media #{$tablet-device}{
                display: block;
                margin-right: 0;
                text-align: center;
                color: #000000;
                line-height: 30px;
            }
            &:last-child{
                margin-right: 0;
            }
            & i{
                color: $secondary_color2;
                font-size: 16px;
                margin-right: 4px;
            }
            display: inline-block;
            font-size: 14px;
            line-height: 30px;
            color: #ffffff;
            font-family: $worksans;
            font-weight: 400;
            @media #{$large-mobile}{
                display: block;
                margin-right: 0;
                text-align: center;
                color: #000000;
                line-height: 30px;
            }
            & a{
                &:hover{
                    color: $secondary_color2;
                }
            }
        }
    }
}


.logito_social_icon{
    & span{
        display: inline-block;
        font-size: 14px;
        line-height: 30px;
        color: #ffffff;
        font-family: $worksans;
        font-weight: 400;
        margin-right: 25px;
    }
    & ul{
        & li{
            margin-right: 20px;
            &:last-child{
                margin-right: 0;
            }
            & a{
                font-size: 16px;
                color: #ffffff;
                &:hover{
                    color: $secondary_color2;
                }
            }
        }
    }
}

.page_search_box{
    position: fixed;
    width: 100%;
    height: 0;
    background: $white;
    z-index: 999;
    left: 0;
    top: 0;
    transition: .3s;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    &.active{
        height: 100%;
        opacity: 1;
        visibility: visible;
    }
    & form{
        width: 70%;
        margin: 0 auto;
        position: relative;
        @media #{$large-mobile}{
            width: 90%;
        }
        & input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
          color: $fonts_color;
        }
        & input::-moz-placeholder { /* Firefox 19+ */
           color: $fonts_color;
        }
        & input:-ms-input-placeholder { /* IE 10+ */
           color: $fonts_color;
        }
        & input:-moz-placeholder { /* Firefox 18- */
           color:$fonts_color;
        }
        & input{
            width: 100%;
            background: none;
            height: 50px;
            font-size: 24px;
            color: $fonts_color;
            font-weight: 400;
            padding: 0 55px 0 0;
            @media #{$large-mobile}{
                width: 90%;
                font-size: 16px;
                padding: 0 30px 0 0;
            }
        }
        & button{
            position: absolute;
            bottom: 11px;
            right: 0;
            border: 0;
            padding: 0;
            background: none;
            font-size: 20px;
            &:hover{
                color: $secondary_color2;
            }
            @media #{$large-mobile}{
                font-size: 18px;
            }
        }
    }
}

.search_close {
	position: absolute;
	top: 50px;
	right: 100px;
    @media #{$large-mobile}{
        top: 22px;
        right: 30px;
    }
    & i{
        font-size: 20px;
        cursor: pointer;
        transform: scale(1) rotate(0deg);
        display: inline-block;
        transition: .5s;
        &:hover{
            color: $secondary_color2;
            transform: scale(1.3) rotate(180deg);
        }
    }
}



.main_header{
    padding: 27px 115px;
    @media #{$laptop-device}{
        padding: 27px 30px;
    }
    @media #{$desktop-device}{
        padding: 27px 15px;
    }
    @media #{$tablet-device}{
        padding: 30px 15px;
    }
    @media #{$large-mobile}{
        padding: 25px 15px;
    }
}
.header_logo{
    margin-right: 125px;
    @media #{$laptop-device}{
        margin-right: 60px;
    }
    @media #{$desktop-device}{
        margin-right: 40px;
    }
    @media #{$tablet-device}{
        margin-right: 0;
    }
    @media #{$large-mobile}{
        margin-right: 0;
    }
    & img{
        @media #{$small-mobile2}{
            max-width: 100px;
        }
    }
}

.main_menu{
    & nav{
        & > ul{
            & > li{
                margin-right: 53px;
                position: relative;
                @media #{$laptop-device}{
                    margin-right: 40px;
                }
                @media #{$desktop-device}{
                    margin-right: 25px;
                }
                &:last-child{
                    margin-right: 0;
                }
                @media #{$desktop-device}{
                   
                }
                &:hover{
                    & ul.sub_menu{
                        visibility: visible;
                        opacity: 1;
                        top: 100%;
                    }
                    & > a{
                        color: $secondary_color;
                        &::before{
                            width: 100%;
                        }
                    }
                }
                & > a{
                    font-size: 16px;
                    line-height: 22px;
                    display: inline-block;
                    text-transform: uppercase;
                    position: relative;
                    font-family: $worksans;
                    font-weight: 600;
                    @media #{$desktop-device}{
                        font-size: 15px;
                    }
                    &::before{
                        position: absolute;
                        content: "";
                        width: 0;
                        height: 1px;
                        background: $secondary_color;
                        left: 0;
                        bottom: 0;
                        transition: .3s;
                    }

                    &.active{
                        color: $secondary_color;
                        &::before{
                            width: 100%;
                        }
                    }
                }
                & ul.sub_menu{
                    position: absolute;
                    min-width: 190px;
                    padding: 18px 20px;
                    background: $white;
                    box-shadow: 0 3px 11px 0 rgba(0,0,0,0.1);
                    left: 0;
                    right: auto;
                    visibility: hidden;
                    opacity: 0;
                    overflow: hidden;
                    transition: .3s;
                    z-index: 99;
                    top: 120%;
                    text-align: left;
                    & li{
                        & a{
                            font-size: 14px;
                            font-weight: 500;
                            display: block;
                            line-height: 32px;
                            text-transform: capitalize;
                            color: #999999;
                            &:hover{
                                color: $secondary_color;
                            }
                        }
                    }
                }
            }
        }
    }
}

.header_search_btn{
    margin-right: 76px;
    @media #{$laptop-device}{
        margin-right: 38px;
    }
    @media #{$desktop-device}{
        margin-right: 27px;
    }
    @media #{$tablet-device}{
        margin-right: 32px;
    }
    @media #{$large-mobile}{
        margin-right: 20px;
    }
    @media #{$small-mobile2}{
        margin-right: 0;
    }
    & a{
        font-size: 18px;
        line-height: 24px;
        &:hover{
            color: $secondary_color;
        }
    }
}

.work_withus{
    @media #{$small-mobile2}{
       display: none;
    }
    & a.btn.btn-link{
        padding: 0 32px;
        line-height: 60px;
        height: 60px;
        @media #{$desktop-device}{
            padding: 0 22px;
            line-height: 50px;
            height: 50px;
        }
        @media #{$tablet-device}{
            padding: 0 25px;
            line-height: 48px;
            height: 48px;
        }
        @media #{$large-mobile}{
            padding: 0 22px;
            line-height: 45px;
            height: 45px;
        }

    }
}
